//
//  GoodsTool.h
//  Store
//
//  Created by liujianlong on 2022/9/23.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface GoodsTool : NSObject
+ (NSArray<Goods*>*)find:(NSString *)type count:(NSInteger)count;
+ (void)find:(GoodsOrderStastus)status complete:(nullable void(^) (NSArray <Goods *>*result))block;
+ (void)delete:(Goods*)model complete:(nullable void(^) (void))block;
+ (void)findAll:(NSString *)name block:(nullable void(^) (NSMutableArray <Goods *>*result))block;

@end

NS_ASSUME_NONNULL_END
